package top.chengdongqing.mishop.entities

import jakarta.persistence.Entity
import jakarta.persistence.Id
import jakarta.persistence.Table

@Entity
@Table(name = "order_reviews")
data class OrderReview(
    @Id
    var orderId: Int,
    var userId: Int,
    var packagingRating: Int? = null,
    var speedRating: Int? = null,
    var serviceRating: Int? = null,
    var content: String? = null,
    var photoUrls: String? = null,
    var isAnonymous: Boolean = false,
) : BaseEntity()